package com.example.demo.service;

import com.example.demo.entity.CourseVideo;

import java.util.List;

public interface CourseVideoService {
    int insertCourseVideo(CourseVideo courseVideo);
    int deleteCourseVideoById(int id);
    int updateCourseVideo(CourseVideo courseVideo);
    CourseVideo selectCourseVideoById(int id);
    List<CourseVideo> selectAllCourseVideos();
    List<CourseVideo> selectCourseVideosByCourseId(int courseId);
}